Skip to content

DOC: fix EX03 errors in docstrings - pandas.io.formats.style.Styler: format_index, relabel_index, hide, set_td_classes #56881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

jordan-d-murphy
Copy link
Contributor

All EX03 Errors resolved in the following cases:

  1. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.io.formats.style.Styler.format_index
  2. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.io.formats.style.Styler.relabel_index
  3. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.io.formats.style.Styler.hide
  4. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.io.formats.style.Styler.set_td_classes
  5. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.DataFrame.idxmax
  6. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.DataFrame.idxmin
  7. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.DataFrame.pivot

OUTPUT:

  1. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.io.formats.style.Styler.format_index
################################################################################
################################## Validation ##################################
################################################################################

1 Errors found for `pandas.io.formats.style.Styler.format_index`:
	Return value has no description
  1. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.io.formats.style.Styler.relabel_index
################################################################################
################################## Validation ##################################
################################################################################

1 Errors found for `pandas.io.formats.style.Styler.relabel_index`:
	Return value has no description
  1. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.io.formats.style.Styler.hide
################################################################################
################################## Validation ##################################
################################################################################

2 Errors found for `pandas.io.formats.style.Styler.hide`:
	Return value has no description
	See Also section not found
  1. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.io.formats.style.Styler.set_td_classes
################################################################################
################################## Validation ##################################
################################################################################

2 Errors found for `pandas.io.formats.style.Styler.set_td_classes`:
	No extended summary found
	Return value has no description
  1. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.DataFrame.idxmax
################################################################################
################################## Validation ##################################
################################################################################

Docstring for "pandas.DataFrame.idxmax" correct. :)
  1. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.DataFrame.idxmin
################################################################################
################################## Validation ##################################
################################################################################

Docstring for "pandas.DataFrame.idxmin" correct. :)
  1. scripts/validate_docstrings.py --format=actions --errors=EX03 pandas.DataFrame.pivot
################################################################################
################################## Validation ##################################
################################################################################

Docstring for "pandas.DataFrame.pivot" correct. :)

…format_index, relabel_index, hide, set_td_classes
@datapythonista datapythonista merged commit 321df55 into pandas-dev:main Jan 15, 2024
@datapythonista
Copy link
Member

Thanks @jordan-d-murphy, very nice

@jordan-d-murphy jordan-d-murphy deleted the issue#56804_9 branch January 15, 2024 23:17
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants